/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package web.service;

import web.enity.UserInfo;

/**
 *
 * @author 10592
 */
public interface UserService {
    /**
     * 
     * @param userInfo
     * @return 
     */
    UserInfo Login(UserInfo userInfo);
    /**
     * 
     * @param userInfo
     * @return 
     * 注册时需要查询用户名是否存在
     */
    int Resiger(UserInfo userInfo);
    /**
     * 查询用户是否存在
     * @param userName
     * @return 
     */
    int getAll(String userName);
}
